raw json should not be shown
deleting documents working if pad and directory are present