def ReadVFS(pathspec, offset, length, progress_callback=None):
 fd = VFSOpen(pathspec, progress_callback=progress_callback)
 fd.Seek(offset)
 return fd.Read(length)

def ReadVFS ( pathspec , offset , length , progress_callback = None ) : fd = VFSOpen ( pathspec , progress_callback = progress_callback ) fd . Seek ( offset ) return fd . Read ( length )
read from the vfs and return the contents .