working on filePublish