Implementing dao query to find by file name