added some helpers to make it easier to open or create a pail