Use singleton design pattern for configuration file.