File streams are now closed, removed some newlines