'Create file object.
:param file: Existing file.
:param offset: Start of region, in bytes.
:param length: Size of region, in bytes.'

def __init__(self, file, offset, length):

    self.fh = file
    self.pos = 0
    self.offset = offset
    self.length = length
    self.fh.seek(offset)
