use config_line_in_file.
Merge pull request #17 from hansode/refactor

use config_line_in_file.