Don't use isFile/isFolder/isModule methods. It's introduces ambiguity.