pass in outFile name