Efficient Code For Binary File