Map attribute files with Resource instead of Attribute