imfile changes back again, but with retained format