public function downloadAllFiles($localDir, $prefix)
	{
		$files = $this->getFiles($prefix);

		foreach ($files as $key => $file) {
			if ($file['Size'] == 0) {
				continue;
			}
			$filename = basename($file['Key']);
			if (!is_file($localDir . $filename)) {
				$this->downloadFile($file['Key'], $localDir . $filename);
			}
		}

		return true;
	}