Migrate index file to MD