var fs     = require('fs'),
    config = require('../config');

module.exports = function (files) {
  var paths  = config.paths;

  if (!fs.existsSync(paths.chest)) {
    console.error('Chest not found');
    return;
  }
  var files = fs.readdirSync(paths.chest);
  if (files.length === 0) {
    console.log('Chest is blank');
  }
  files.forEach(function (file) {
    fs.symlinkSync(
      paths.chestin + '/' + file,
      paths.root + '/' + file
    );
  });
};

@@ -354,24 +354,401 @@
 on (file) %7B%0A
+    var exists = false;%0A    if (!fs.existsSync(paths.root + '/' + file)) %7B%0A      exists = true;%0A    %7D%0A    try %7B%0A      var lstat = fs.lstatSync(paths.root + '/' + file);%0A      if (lstat.isSymbolicLink()) %7B%0A        exists = true;%0A      %7D%0A    %7D catch (Exception) %7B%0A      exists = true;%0A    %7D%0A    if (exists) %7B%0A      console.log('File already exist: ' + file);%0A      return;%0A    %7D%0A
     fs.symli

Add exists check on open