writeConfig

fun writeConfig(path: Path, filename: String, config: <Error class: unknown class>)