fixed file.Time errors