now closing file handles... heh.