parse txt files as markdown files
change c for loop