We need to close fd sometimes...
tidy up close/closedir/open/opendir....