New function json_decode_file

Exactly like json_decode, except it accepts a file instead of string to decode
Ignore connect.json as well