can delete keys in base directory
subdirectory handly for deletion