Should probably close the files