Config files were not opened correctly