def __iter__(self):
ctrl = []<EOL>if self.adj_tokens[False] is not None:<EOL><INDENT>ctrl += [ "<STR_LIT>" ]<EOL><DEDENT>if self.adj_tokens[True] is not None:<EOL><INDENT>ctrl += [ "<STR_LIT>" ]<EOL><DEDENT>self.vf_iter = iter(ctrl + [e + self.visible_files[e].extension for e in self.visible_files])<EOL>return self<EOL>
Create an iterator. Method allows - in a simple manner - for obtaining a generator which contains filenames.
The real generator is ``self.vf_iter``; YTActions object (used as iterator) is only a wrapper.

Returns
-------
self : YTActions
    This very same object with ``self.vf_iter`` constructed and initialised.