File objects werent being closed.