Fixed bug with wrong file path

Fixes bug where you can't load the external files