throw new HttpException(500, "The destination directory does not exist, could not be created, or is not writable by $sanitized_current_user: $directory");
$error_message = "The destination directory does not exist, could not be created, or is not writable by $sanitized_current_user: $directory";