Added options to load/read custom files.  No error handling included, so FIY if using wrong json as input.