file_encoder added
WriteToNullAndFull added