use first argument as input file.