Moved file handling attributes to a role