update Could code main.js to delete file