split parent folder and child file