Swift: let dirPath: NSString = NSString.pathWithComponents