Camera set Name and Path

function capturePhoto() {
				Camera.capturePhoto()
					.then(function (photo) {

						photo.save()
							.then(function(filePath) {
								console.log("Photo saved to: " + filePath);
								photo.release();
							})
							.catch(function(error) {
								console.log("Failed to save photo: " + error);
								photo.release();
							});
					})
					.catch(function (error) {
						console.log("Failed to capture photo: " + error);
					});
			}

I would like to change the filepath and the name of the photo. how does it work?

I think you would need to read that filepath with FileSystem, then write a copy with your new file location and name: https://fuseopen.com/docs/fuse/filesystem/filesystemmodule.html