fixed #23

Modified to preview the attached file for the show page