and directory created if not exists