Actually make the relative file requiring work (didn't test 2 commits ago).

Should probably squash this but can't be bothered.