preparing md file