started modifying main script so that the intro of the text files are removed before the 'analysis'