added file check on photo_picture uploader