import pickle


def _pickle_import(filename):
  """
  Pickle Importer

  Helper function for importing pickled objects.

  :param filename: Name and path to the pickle file.
  :type filename: str

  :return: The pickled object
  :rtype: Object
  """
  with open(filename, 'rb') as f:
    obj = pickle.load(f)
  return obj