updates to makeFIle for compile