def generate_fs_subjects(filenames):
 for f in filenames:
  (yield File(f))
  (yield Link(f))
  (yield Dir(f))
  if (dirname(f) in (u'.', u'')):
   (yield Dir(u''))

def generate_fs_subjects ( filenames ) : for f in filenames : ( yield File ( f ) ) ( yield Link ( f ) ) ( yield Dir ( f ) ) if ( dirname ( f ) in ( u'.' , u'' ) ) : ( yield Dir ( u'' ) )
given filenames .