Implemented basic dynamic file upload for photos.