Same thing as above in filelists. This is almost the same code and another instance of hardcoding these keys by convention instead of a formal construct.