Preparing for folders rewriting