How to restore individual files from images