remove data and rearrange files