Split the main file in two