Ensuring post process ...So, instead of the following... f = open(path) begin ... something with f .. ensure f.close end