Add simple functions to iterate a file, get a file handle to use