public function setStoragePath($path) {
		$dir  = pathinfo($path, PATHINFO_DIRNAME);
		$name = pathinfo($path, PATHINFO_BASENAME);
		
		$dir = realpath($dir);
		
		if ($dir === false) {
			throw new Exceptions\MetadataError('Invalid path: "' . $path . '"');
		}
		
		$this->metadataPath = $dir . DIRECTORY_SEPARATOR . $name;
	}