@classmethod
    def from_filename(cls, filename, start_byte, chunk_size, callback=None,
                      enable_callback=True):
        f = open(filename, 'rb')
        file_size = os.fstat(f.fileno()).st_size
        return cls(f, start_byte, chunk_size, file_size, callback,
                   enable_callback)
Update a new vm
dataset/ETHPy150Open boto/boto3/boto3/s3/transfer.py/ReadFileChunk.from_filename--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/smartos_vmadm.py/update