you don't need that if you use new File(parent, child) for creating the correct files