add a figure file