Fix timestamp solution to catch sub second changes in file

Please add a pod header for this function.