 	#tmp#
 </p>
 
-	<cffile action="write" file="#application.webDirectory#/temp/#d.batch_name#.src" output="#tmp#" addnewline="false">
-
-<a href="/temp/#d.batch_name#.sbt">/temp/#d.batch_name#.src</a>
+	<cffile action="write" file="#application.webDirectory#/temp/#d.batch_name#.src.txt" output="#tmp#" addnewline="false">
+
+<a href="/temp/#d.batch_name#.src.txt">/temp/#d.batch_name#.src</a>
 
 
 



	<cfset tmp=tmp & chr(10) & s.sequence_id>
	<cfset tmp=tmp & chr(10) & sd.COLLECTORS>
	<cfset tmp=tmp & chr(10) & sd.cdate>
	<cfset tmp=tmp & chr(10) & sd.country>
	<cfset tmp=tmp & chr(10) & sd.dll>
	<cfset tmp=tmp & chr(10) & sd.guid>
	<cfset tmp=tmp & chr(10) & host>
	<cfset tmp=tmp & chr(10) & dstg>
	<cfset tmp=tmp & chr(10) & sd.sex>
	<!--- IDK if anyone will have this but we should --->
	<cfset tmp=tmp & chr(10) & "">

</cfloop>


	#tmp#
</p>
	<cffile action="write" file="#application.webDirectory#/temp/#sequence_identifier#.fsa" output="#tmp#" addnewline="false">
	<br><a href="/temp/#sequence_identifier#.fsa">/temp/#sequence_identifier#.fsa</a>
</cfloop>

<cfset tmp="Sequence_ID#chr(9)#Collected_by#chr(9)#Collection_date#chr(9)#Country#chr(9)#Lat_Lon#chr(9)#Specimen_voucher#chr(9)#Host#chr(9)#Dev_stage#chr(9)#Sex#chr(9)#Tissue_type">
