updated parser, styling for failed file-fragment