finish file partition