Add mainfiles log