More work on binary file.