testing dwnloadFile fileService on device.
fixed setPhotoPath query.