Updated  to support folders and time stamps on the files.