Remove isFile/isFolder methods. It's introduces ambiguity.