Modified File class implementation.

Now File and message class are simpler
 and abstract classes.