Deletes unnecessary files.