delete directory if there are read only file