Generating emails list from text file content in PHP-CodeIgniter