creates needed sub-directories if they are missing