public function remove($id, $filename = null)
    {
        if ($filename == null) {
            return FileManager::rmdir($this->getPath($id));
        } else {
            return FileManager::rmfile($this->getPath($id, $filename));
        }
    }