don't forget to close the file properly too.