added script to remove intermediate text files