def load_file(self, path=None, just_settings=False):
<EOL>if just_settings:<EOL><INDENT>d = _d.databox()<EOL>header_only = True<EOL><DEDENT>else:<EOL><INDENT>d = self<EOL>header_only = False<EOL><DEDENT>if not None == _d.databox.load_file(d, path, filters=self.file_type, header_only=header_only, quiet=just_settings):<EOL><INDENT>for x in self._autosettings_controls: self._load_gui_setting(x,d)<EOL><DEDENT>self._synchronize_controls()<EOL>if not just_settings:<EOL><INDENT>self.plot()<EOL>self.after_load_file()<EOL><DEDENT>
Loads a data file. After the file is loaded, calls self.after_load_file(self),
which you can overwrite if you like!

just_settings=True will only load the configuration of the controls,
and will not plot anything or run after_load_file