Main data analysis file