added .md file extension when saving files