def file_read_seek_len(filename, from_byte, step_byte):
    """str, int, int->byte

    Read a file from particular byte to somewhere.

    Used for multi thread uploading.
    """
    with open(filename, 'rb') as f:
        f.seek(from_byte)
        return f.read(step_byte)
