Make sure we close the files