added auto-open on md files