Remove unneeded temporary results file
Add comment
Refactoring to make stuff easier