cleanup and put source text in same directory