removed exists check before creating a directory