Merge bad map file loading into the original function.