Made JSON file read and write filename optional, uses object's filename setting if not specified. Also used basic read to test file in constructor.