Revert "Fixing file path and loadUrl"

This reverts commit 36aca358626fcb30ef47f735db7ec61165738bbf.