@staticmethod
def generate_large_file(size):
    filename = ('large_file_%s' % uuid.uuid4())
    f = open(filename, 'wb')
    f.seek((size - 1))
    f.write(b'\x00')
    f.close()
    return open(filename, 'r')
@staticmethod
def generate_large_file(size):
    filename = ('large_file_%s' % uuid.uuid4())
    f = open(filename, 'wb')
    f.seek((size - 1))
    f.write(b'\x00')
    f.close()
    return open(filename, 'r')