package Foo; use Moose; use FileAttributes; has_file 'foo'; has_file 'bar' => (required => 1);