When scanning from a file, use the last modified date as the timestamp instead of the current time
When scanning from a file, use the last modified date as the timestamp instead of the current time