[4] clean up , refactoring getConfig , check file not found ;