Modify attributes of files