Whoops, debug also needs to change the way it handles infile.