Fix output to file option