How to read/write string to Binary File in Java? Please tell me step by step.