Factored out search.
Ensured caseless operation.
Switched to a more explicit implementation of the CP/M matching logic, which now correctly handles ‘empty’ file names, amongst other things.