/**
  * Parse a relative path using the base path if needed.
  *
  * @param  string $path The path to resolve.
  * @return string|array|boolean
  */
 public function resolvePath($path)
 {
     $path = parent::resolvePath($path);
     if (is_file($path)) {
         return $path;
     }
     /** If not a file, it's most likely a directory */
     return $this->expandPath($path);
 }