Now we need to go through the setting procedure every time a new file is created. It would be nice if we can load the settings of previous files.