create required directory