basePath can only be a directory, and FullPath doesn't add a slash at the end