Split the file into modules