create offer file - added filepath arg