Changed Datastream to File