How would I check the file name is in the database? I'm already checking if it is in a folder but that's not always acurate. Could you show me please.