Problem with closing files

[url]Problem with closing files