Added code for Viewing PDF