public function setPublic(FileAbstraction $file, $public = true)
	{

		if ($file instanceof File) {
			$this->setPublicForFile($file, $public);
		} else if ($file instanceof Folder) {
			$this->setPublicForFolder($file, $public);
		} else {
			throw new Exception\RuntimeException('Wrong entity passed');
		}
	}