Adding logic file search.