reformatting rake file
close method