add fclose()