clears block after removing a file