Create main file.