Refactor: move file load from app.js to fileutil.js