 		<cfloop query="f">
 			<cffile variable="content" action="readBinary" file="#Application.webDirectory#/temp/#d.zid#/#new_filename#">
 			<cfset md5 = createObject("component","includes.cfc.hashBinary").hashBinary(content)>
+
+			<br>md5: #md5#
 			<cfquery name="ckck" datasource="uam_god">
 				select media_id from media_labels where MEDIA_LABEL='MD5 checksum' and LABEL_VALUE='#md5#'
 			</cfquery>

		</cfloop>

		<cfdump var=#q#>
	</cfoutput>
</cfif>


		<cfset q=QueryNew("TEMP_original_filename, TEMP_new_filename,MEDIA_URI,MIME_TYPE,MEDIA_TYPE,PREVIEW_URI,media_license,media_label_1,media_label_value_1")>

		<cfloop query="f">
			<cfset queryaddrow(q,
					{
					TEMP_original_filename=filename,
