added isFile call for fileinfo to test the nature of a string. previous def would have passed for internal catalog objects as they may als start with file but are not files