added try/catch around FileReference.browse()

Change-Id: Ib903151ebb66b45147161eb74885e31b71f7b0a7