Are you trying to see if the ctl file is in the DB?
Sounds like Oracle, in which case, iirc the SQL is (similar to this)
where source_file_name = 'US_MFg_Units_On_Hand_Actual.ctl';
If you get NULL, the rec is not there.
In Linux you can check the disk:
var=`ls US_MFg_Units_On_Hand_Actual.ctl 2>/dev/null|wc -l`
if [[ $var -eq 0 ]]
echo "$file exists"