add toString in file model

toString magic method added to file model, I've come across situations where it is important.