close file automated!