why error? file is not closed then ...