add creation of directory if non existent