oups. where is fclose?! :p