Putting up together again the main file