add NewConfigFiler and ReadConfigFilter for unit-testability
Merge pull request #2 from AnthonyTsang/AnthonyTsang/Make_ConfigFile_unit-testable

add NewConfigFiler and ReadConfigFilter for unit-testability