FIX determenistic Bug

1. FIX determenistic Bug
2. Add loading configuration from one file (this is beta version of
function need to test more careful)