code: def read_file(self, path, **kwargs):
          
          try:
              with open(path, "r") as handle:
                  parsed_data = yaml.safe_load(handle)
                  return parsed_data
          except IOError:
              LOGGER.warning("Error reading file: {0}".format(path))
          except TypeError:
              LOGGER.warning("Error reading file: {0}".format(path))
          return None
docs: Read file input into memory, returning deserialized objects
  
          :param path: Path of file to read