creating main file