fixa outputstream , inputstream