Error out early
cleany²
update position and set file size