bugfix: add file load to main.js