publish main file