add tx file function support