got rid of static buffer for config file