close file after reading
handling open file within configparser