'Process dicts of sample files with assigned function,
func has one list augment.'

def _process_files(self, files_dict, func, avg_update=None, merge=True):

    ret_lines = []
    for i in range(len(files_dict[0])):
        if re.findall('[a-zA-Z]', files_dict[0][i]):
            ret_lines.append(files_dict[0][i].strip())
        else:
            line = self._process_lines(files_dict, i, func, avg_update, merge)
            ret_lines.append(line)
    return ret_lines
