Creating the main file.