code: def edit_content(self, original_lines, file_name):
          
          lines = [self.edit_line(line) for line in original_lines]
          for function in self._functions:
              try:
                  lines = list(function(lines, file_name))
              except UnicodeDecodeError as err:
                  log.error('failed to process %s: %s', file_name, err)
                  return lines
              except Exception as err:
                  log.error("failed to process %s with code %s: %s",
                            file_name, function, err)
                  raise  # Let the exception be handled at a higher level.
          return lines
docs: Processes a file contents.
  
          First processes the contents line by line applying the registered
          expressions, then process the resulting contents using the
          registered functions.
  
          Arguments:
            original_lines (list of str): file content.
            file_name (str): name of the file.