Deletes references to files not needed for the project