add setFileName() support