file loading logic fixed + console.log removed