Split main file