Remove '..' from the filtered list of files to complete, as it turns out
I quite often want to open ../blah/foo.c.
Also do an anchored match (start and end) for components other than the last
one.