code: private function getFilename($file, $type, $version = 'url')
      {
          if ($version == 'url') {
              $root = $this->theme->getURL();
          } elseif ($version == 'dir') {
              $root = $this->theme->getDirectory();
          }
          switch ($type) {
              case 'css':
                  return $root.'/css'.$file;
                  break;
              case 'js':
                  return $root.'/js'.$file;
                  break;
          }
      }
docs: /*
  Get path to file