Refactoring of formatter in process. Bit changes in file stream