Now saves result to file in root dir.