add filename block to app.js