         self.task = whattoreadwrite
         switch self.task! {
         case .schedule:
-            self.name = "/scheduleRsync.plist"
+            self.plistname = "/scheduleRsync.plist"
             self.key = "Schedule"
         case .configuration:
-            self.name = "/configRsync.plist"
+            self.plistname = "/configRsync.plist"
             self.key = "Catalogs"
         case .userconfig:
-            self.name = "/config.plist"
+            self.plistname = "/config.plist"
             self.key = "config"
         case .none:
-            self.name = nil
+            self.plistname = nil
         }
     }
 

            let profilePath = CatalogProfile()
            profilePath.createDirectory()
            self.filepath = self.configpath! + macserialnumber! + "/" + profile + "/"
            self.filename = docuDir + self.configpath! + macserialnumber! + "/" + profile + self.name!
        } else {
            // no profile
            self.filename = docuDir + self.configpath! + macserialnumber! + self.name!
            self.filepath = self.configpath! + macserialnumber! + "/"
        }
    }

class ReadWriteDictionary {

    // Name set for schedule, configuration or config
    private var plistname: String?
    // key in objectForKey, e.g key for reading what
    private var key: String?
    // Which profile to read
