migrate b file