Initially used to get a list of pictures from a directory, collect allows the user to download a collection of files from a directory if they have a list of the