M: Library: 'isFile' and 'isFolder'-methods for checking path - file of folder.+tests