Add attribute for file extension