Output debug information when loading file fails