chance filetype to md