Clean up duplicate file function. Add function to retrieve pictures. Retrieve all available pictures.