when possible, expose the file path as the hostname