Point query on filename

Point query on file name now using the database cursor.  Like a boss.