Checks if ReferenceFile is indexed, and if so, allows moving backwards and skipping sequences.

added tests.