Split one script into multiple files.