Clean the Main File