clear metadata before loading configs for file output