Utils: allow more file names
Fixed #2786 which caused a JS error and failure on drilling up from deep drilldown structures.