Feature work on config parse.

Working on config parse. And fixing bug in file_exist.