get should write to local path