         return nil
     }
 
-    /*
-     // Function for returning files in path as array of Strings
-     func getFileStrings() -> [String]? {
-         var array: [String]?
-         if let filePath = self.rootpath {
-             let fileManager = FileManager.default
-             var isDir: ObjCBool = false
-             if fileManager.fileExists(atPath: filePath, isDirectory: &isDir) {
-                 guard isDir.boolValue else { return nil }
-             } else { return nil }
-             if let fileURLs = self.getfileURLs(path: filePath) {
-                 array = [String]()
-                 for i in 0 ..< fileURLs.count where fileURLs[i].isFileURL {
-                     array?.append(fileURLs[i].path)
-                 }
-                 return array
-             }
-         }
-         return nil
-     }
-     */
-
     func getfilesasstringnames() -> [String]? {
         if let atpath = self.rootpath {
             do {

        }
        return nil
    }

    /*
     // Function for returning profiles as array of Strings
     func getDirectorysStrings() -> [String] {
         var array = [String]()
         if let filePath = self.rootpath {
             if let fileURLs = self.getfileURLs(path: filePath) {
                 for i in 0 ..< fileURLs.count where fileURLs[i].hasDirectoryPath {
                     let path = fileURLs[i].pathComponents
                     let i = path.count
                     array.append(path[i - 1])
                 }
                 return array
             }
         }
         return array
     }
     */

    func getcatalogsasstringnames() -> [String]? {
        if let atpath = self.rootpath {

}

class Files: NamesandPaths, FileErrors {
    func getcatalogsasURLnames() -> [URL]? {
        if let atpath = self.rootpath {
            do {
