Fix read clipping input file