Added Hibernate annotations for file objects.