Revert "Changing operation name from 'directory' to 'list'."

This reverts commit 534448f86257e15c7d746acd833a8d055a7fbff4.