Use unlines function to break up list