Closed scanners for input files