working with binary files.