add FileName to attributes