remove half of file