removed _mainfile