training appends. clear training files with button