Simplifying to remove FileStream object.