addReadFile to view image/PDF