added ability to specify md file