Usage: chfor infile outfile