1. add configuration file r/w.