changed batch analysis script to read files in a time-stamped folder