replace md with txt