Allow old config file back-compatibility and migration

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>