Fixed mistake in download secure file validation