fix last commit
complete all changes and test for interface ConfigFiler
remove an unnecessary change
Merge pull request #1 from AnthonyTsang/AnthonyTsang/Make_ConfigFile_unit-testable

Let code using ConfigFile be testable