having difficulty with search using the file extension