def METHOD_NAME(self, addr, f_path):
    blocks = round_up_int_div(os.path.getsize(f_path), self.CHUNK_SIZE)
    with open(f_path, 'rb') as fin:
        a = addr
        for i, chunk in enumerate(iter(partial(fin.read, self.CHUNK_SIZE), b'')):
            len_chunk = len(chunk)
            self._write_block(a, chunk, len_chunk, i, blocks)
            a += len_chunk