Clean Main File