delete files and directories factory - selected all behavior with no elements in stage