add support for X-CoreFileDir header