close the viewers.config file fd