public static function createTmpFile($folder = null, $checkAndCreatePath = true) {
		if ($folder === null) {
			$folder = TMP;
		}
		if ($checkAndCreatePath === true && !is_dir($folder)) {
			new Folder($folder, true);
		}

		return $folder . Text::uuid();
	}