add doctest to feature.Attributes
error if file doesn't exist
pragmas can now be handled flexibly and on-the-fly