add mainfiles