Use ruby block to delete files