updated md to txt for output files