support for reading a sequence of files