Using list comprehension, and cleanup file also created.