extending plotTsFiles