Get rid of Task.spawn in checkForUpdatedFiles(), since no yields are left