Fix a bug, when .md file is at the root of baseFolder