tried fixing the makeFile()