checks a files last mod time