Created a Generator that allows for reading in files and folders at different times