Inlining constant CONFIGURATION_DIRECTORY
Renaming argument name to type_name.
Changing function signature.
Rearranging and renaming constants.
Extracting a class for location.
Getting rid of nested join.
Using a list.