File handles not closed

Code reviewMedium18 min

Your task

Review this Python function that parses a batch of config files.