def __getitem__(self, name):
    for item in self._fs_contents:
        if (item['name'] == name):
            return item
    raise IndexError('{name} not found!'.format(name=name))
def __getitem__(self, name):
    for item in self._fs_contents:
        if (item['name'] == name):
            return item
    raise IndexError('{name} not found!'.format(name=name))