Function Ready: 
MySQL Insert to source_file and record tables.