Adding getJSONFromFile and URL, and throw Exceptions