         return Static.instance
     }
     
+    // Get Divider character
+    func getDividerCharacter( ) -> String {
+        return divider?.rawValue ?? ",";
+    }
+    
     ///a free function to make read the CSV file
     open func readCSV(_ filePath:String) -> NSMutableDictionary{
         return CSVExport.export.read(filepath: filePath);
+    }
+    
+    ///a free function to convert from NSMutableDictionary to CSV object
+    open func converToObject(_ fileDetails:NSMutableDictionary) -> CSV{
+        let csvObj = CSV()
+        if fileDetails.allKeys.count > 0 {
+            let keys:[String] = fileDetails.allKeys as! [String]
+            for key in keys  {
+                switch key {
+                case "fields":
+                    let fieldValue = fileDetails.object(forKey: key) as! NSArray
+                    csvObj.fields = fieldValue
+                    break
+                case "rows":
+                    let fieldValue = fileDetails.object(forKey: key) as! NSArray
+                    csvObj.rows = fieldValue
+                    break
+                case "name":
+                    let fieldValue = fileDetails.object(forKey: key) as! String
+                    csvObj.name = fieldValue
+                    break
+                case "divider":
+                    let fieldValue = fileDetails.object(forKey: key) as! String
+                    csvObj.delimiter = fieldValue
+                    break
+                default:
+                    break
+                }
+            }
+        }
+        return csvObj;
     }
     
     ///a free function to make read the CSV file

public func readCSVFromDefaultPath(_ fileName:String) -> NSMutableDictionary{
    return CSVExport.export.readCSVFromDefaultPath(fileName);
}

                        
                    } else {
                        
                        if result.length == 0 {
                            result = "\("")"
                        } else {
                            result = "\(result)\(div)\("")"
