If you added the files from inside c2 the second should work.
I was a bit confused by your reply. I can't seem to be able to add a file to the project... I suppose this could possibly be done using XML but to be honest i have no idea how to do that or if there's an easier approach.
Instead I opted for the FileChooser object and then I asked AJAX to fetch the FileChooser's picked file's URL.
However, this forces me to pick a file every single time I want to use my app since it does not allow for a default file to be picked at the start of the layout.
This does work well.. but it is not viable for me to have to have to pick the same file every time just to get a proper URL to the file (a URL that works -> since I can't get my previous examples to work!).
I noticed that the FileChooser's URL value is something like "Blob:http://localhost:50000/3e94a87df-6532-4413-n187-996830dnb630f" and it keeps changing every time I load the file manually.
This is what I've got right now:
->Can there be a static URL to this local file?
->And how would you load it from inside Construct?