Added main, should get imput file and process it