would also explicitly closing file handles be better?