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>with open(filename, '<STR_LIT:r>') as json_data:<EOL><INDENT>settings = json.loads(json_data.read())<EOL><DEDENT>advanced_filename = self.get_base_path() + '<STR_LIT>'<EOL>if exists(advanced_filename):<EOL><INDENT>with open(advanced_filename, '<STR_LIT:r>') as json_data:<EOL><INDENT>settings.update(json.loads(json_data.read()))  <EOL><DEDENT><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