adding helper method to yield both temp dirs and the files to avoid globbing the returned dirs
adding helper method to yield both temp dirs and the files to avoid globbing the returned dirs

ksilin/poster