scale the input file to be smaller.