The file class updates the date when the content is changed so that should be good enough for now