public function setFolderName($folder = null) {
    if($folder) {
      $folder = Folder::find_or_make($folder);
      $this->folderID = $folder->ID;
      $folder = str_replace('assets/', '', $folder->Filename);
      $this->folder = rtrim($this->folder . $folder, '/') . '/';
    }
  }