public FileSync(String fileName, Action callback)
{
currentFile = fileName;
callbackFunction = callback;
file_watcher = new FileSystemWatcher();
// Add the handler for file changes
file_watcher.Changed += new FileSystemEventHandler(onChanged);
// Update the file watcher's properties
updateProperties();
}