Yes mainfile is path to the main file relative to version folder.