Bug fixes of showdoc

Added fixes for showdoc when file does not exist and clearer error
message style