rearrange files into folders