support file by file basis