/**
  * Init file system storage
  * 
  * @param type $a_id
  * @param type $a_subdir
  * @return string 
  */
 public static function initStorage($a_id, $a_subdir = null)
 {
     include_once "Modules/Portfolio/classes/class.ilFSStoragePortfolio.php";
     $storage = new ilFSStoragePortfolio($a_id);
     $storage->create();
     $path = $storage->getAbsolutePath() . "/";
     if ($a_subdir) {
         $path .= $a_subdir . "/";
         if (!is_dir($path)) {
             mkdir($path);
         }
     }
     return $path;
 }