java source to implement serializable interface  to read the already created binary files of an object

the name of the file must be same as that of the file name used to create binary files