mainfiles for old versions