changed stats.m to analyze file1