add checks for figure file name