Refactor key-value pair into separate files.