add fs to index.js service template