Check if a file is really modified