Create the main file