tested fileSearch method and works