hi i want to convert this code from Ooj-c to swift 5
- (NSString*)createNewPath { NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirector