Instead of inspecting the filename passed in for mapped files pass the key in as the first argument
1.0.0