Parse files and create statistics