File::Attributes lets you assign attributes to files (and read them, and list them, and delete them). WWW: https://metacpan.org/release/File-Attributes