Allow input file to be .gz