Refactor unmungeBlackboardFilenames to be more readable