- moved base-path-creation in separate method