Change isSameFile() to public.