Define a main file