Add 'abstract' attribute to GenericFile class, plus tests.