A py to update filename based on listfile.