added csv output
puts filename into photos and downloads photos to the /photos folder on the server