working on directory upload