Added support for iterative files. Fixes #74