add a main file