Writes the list to a file.
sp is the line separator. In case of strings, you want it to be "\n";
See Implementation
Writes the list to a file.
sp is the line separator. In case of strings, you want it to be "\n";