only show attachment if there is a file