recursivly create output folder