rescuing when failing to open file for snippet on html formatter