Yeah that's good. I'll just change \n to PHP_EOL so it works across multiple system.