Fixed typo and bad next.
Print file list nicely