Good to know. I think my code is more readable though. :-) btw: won't getCanonicalPath do the normalisation I require?