def __write_to_fil_heavy(self, filename_out, *args, **kwargs):
<EOL>chunk_dim = self.__get_chunk_dimensions()<EOL>blob_dim = self.__get_blob_dimensions(chunk_dim)<EOL>n_blobs = self.container.calc_n_blobs(blob_dim)<EOL>n_bytes  = self.header[b'<STR_LIT>'] / <NUM_LIT:8><EOL>with open(filename_out, "<STR_LIT:wb>") as fileh:<EOL><INDENT>fileh.write(generate_sigproc_header(self)) <EOL><DEDENT>logger.info('<STR_LIT>'% n_blobs)<EOL>for ii in range(<NUM_LIT:0>, n_blobs):<EOL><INDENT>logger.info('<STR_LIT>' % (ii + <NUM_LIT:1>, n_blobs))<EOL>bob = self.container.read_blob(blob_dim,n_blob=ii)<EOL>with open(filename_out, "<STR_LIT:a>") as fileh:<EOL><INDENT>j = bob<EOL>if n_bytes == <NUM_LIT:4>:<EOL><INDENT>np.float32(j.ravel()).tofile(fileh)<EOL><DEDENT>elif n_bytes == <NUM_LIT:2>:<EOL><INDENT>np.int16(j.ravel()).tofile(fileh)<EOL><DEDENT>elif n_bytes == <NUM_LIT:1>:<EOL><INDENT>np.int8(j.ravel()).tofile(fileh)<EOL><DEDENT><DEDENT><DEDENT>
Write data to .fil file.

        Args:
            filename_out (str): Name of output file