updated allFiles with newlines