it can read config file, and filter some useful information