no need to write to stdin now that we pass file instead of a buffer on stdin to compare