separate config's error on file-error and invalid syntax