adding the deletedness of old files and removing footer