CORE-5943 Corrected External file viewer error