file name change; add list support
use strdup to produce filename