added some file type loading currection

*.md will be recognized as type 'markdown'