rename putDirectory to put