changes the file from .md to .txt