first steps done to analyze the files