migrate ec2 file merge