add bad file test case for dataAnalysis, add some documentation for dataAnalysis and plotResults