Fixed stupid issues with returning consts from filepaths and urls