def __load_settings_from_file(self):
filename = self.get_base_path() + '<STR_LIT>'<EOL>if not exists(filename):<EOL><INDENT>raise OneLogin_Saml2_Error(<EOL>'<STR_LIT>',<EOL>OneLogin_Saml2_Error.SETTINGS_FILE_NOT_FOUND,<EOL>filename<EOL>)<EOL><DEDENT>json_data = open(filename, '<STR_LIT:r>')<EOL>settings = json.load(json_data)<EOL>json_data.close()<EOL>advanced_filename = self.get_base_path() + '<STR_LIT>'<EOL>if exists(advanced_filename):<EOL><INDENT>json_data = open(advanced_filename, '<STR_LIT:r>')<EOL>settings.update(json.load(json_data))  <EOL>json_data.close()<EOL><DEDENT>return self.__load_settings_from_dict(settings)<EOL>
Loads settings info from the settings json file

:returns: True if the settings info is valid
:rtype: boolean