fclose file buffer