Read configuration file.