updated view file to catch exception if file is not associated with an application and open the parent directory