File migration with some errors