SFML implements no direct way of checking whether an item is a file or a directory. I think the simplest workaround is to call ChangeDirectory: if it works then it's a directory, if not then it's a file.
I can probably add more functions to make this easier (and less ugly).