support attached file migration