A strategy to overcome “file name is too long to delete”