Figured it out though, it was a special char in the file, to bad OPNsense can't handle this or throws a usable error.