open files with \r\n newlines without problems
process code blocks with \n\n inside them properly