def get(self, plan_name):
        """Retrieves the files for a given container name

        Retrieves the files from the Swift container matching plan_name.

        :param plan_name: The name of the plan
        :type plan_name: str
        :return: a list of files
        :rtype list
        """
        plan = Plan(plan_name)
        container = self.swiftclient.get_container(plan_name)
        plan.metadata = container[0]
        for data in container[1]:
            filename = data['name']
            plan_obj = self.swiftclient.get_object(plan_name, filename)
            plan.files[filename] = {}
            plan.files[filename]['contents'] = plan_obj[1]
            meta_info = {k: v for (k, v) in plan_obj[0].items()
                         if constants.OBJECT_META_KEY_PREFIX in k}
            if len(meta_info) > 0:
                plan.files[filename]['meta'] = \
                    meta.remove_key_prefix(meta_info)

        return plan
dataset/ETHPy150Open openstack/tripleo-common/tripleo_common/core/plan_storage.py/SwiftPlanStorageBackend.get/original