Used GOMAXPROCS option.
File should be closed explicit because defer is not called untill the function exit.
Used struct to pass arguments.
Added a print data (path, line number).