How can I load a local GeoJSON file by defining a class path?

My computer cannot access the Internet, so I download a GeoJSON file in advance and load it from the local computer. But when loading, it keeps prompting 'Invalid GeoJSON file location'. How can I fill in this path?