added the option to start reading from 'anywhere' in the file