Create main file