create folder only if vector is not empty