def extract_suffixes(iter, prefix):
p_len = len(prefix)<EOL>for p in iter:<EOL><INDENT>yield p.name[p_len:]<EOL><DEDENT>
:param iter: iterator over path names
:param prefix: expected prefix of the path names
:returns: the parts of the paths following the prefix