three mainfiles