change file to md format