Unfortunately this is a bit outside of what we can do since we only return JSON. A common use case is to take the output and store it in a CSV file, but if you're looking for actual "folders" then you may want to use our user interface at https://preview.clarifai.com. All of the items uploaded there will get a General Model prediction and you can create separate applications for different sets of photos.