remove the files
reconstruct the files layout