added filWriting