title: how to define value object for file in java
body: <p>I wrote a program that creates 3 files with .txt format and writes some data's into them.
  Now I am asked to define a value object for these files, And override the toString method, And then when I read the files Set them in to Value objects.
  Now I'm completely confused and do not know where to start.
  Thank you in advance for your help</p>