added function for provide tag,path,filename