add option to use custom gofile for building