md file swap