public function makePathToUploadedFile($model, $path_pattern = null, array $model_map = array())
	{
		$pattern = $path_pattern ?: $this->getConfig('store.path_pattern', '');

		$path    = $this->interpolator->resolvePath($pattern, $model, $model_map)->getResult();

		$path    = $this->getStoreRootPath() . '/' . ltrim($path, '/');

		return $path;
	}