Added a function to read configurations from separated configuration file.