refine the content of the folder