     
     func allTransactions() -> NSArray{
         let result = realm.objects(Transaction).toNSArray();
-        print(result)
+//        print(result)
         return result;
     }
     

        do {
            // Cleanup old file, if residual staging file remains from previous ocassion.
            if residualFileExists {
                try fileManager.removeItemAtPath(realmFilePath!)
            }
            
            if needsToCreateDirectory {
                try fileManager.createDirectoryAtPath(outputFolderPath, withIntermediateDirectories: true, attributes: nil)
            }
            
            // Copy the file
            try! fileManager.copyItemAtPath(realmBaseFilePath as String, toPath: realmFilePath!)
        }catch let error as NSError{
            print(error.localizedDescription)
        }
        
        
        let csvDataExporter = CSVDataExporter(realmFilePath: realmFilePath!)
        try! csvDataExporter.exportToFolderAtPath(outputFolderPath)
        
        // Cleanup
        do {

    override init() {
        super.init();
        self.instateDatabase()
//        print(self.realm);
    }
    
    func addSalesProduct(item: Product) -> Bool{
