changes check based on filemtime