transform files from client to public folder retaining folder structure