public static DemoInputStreamIterator iteratorForFile(String fileName, Profile... profile) throws IOException {
return new DemoInputStreamIterator(demoInputStreamForStream(new FileInputStream(fileName), profile));
}
public static PeekIterator peekIteratorForFile(String fileName, Profile... profile) throws IOException {
return new PeekIterator(demoInputStreamForStream(new FileInputStream(fileName), profile));
}