New method IsFile()