Add reading/writing configuration file.