Only try to add newlines to files (and not directories)
Add newlines recursively