When some errors happen continue to process the rest of the lines. If the file extension is markdown, treat it as a non code snippet