Remove erroneous whitespace on first line.
Skip non-file items (e.g., directories) in the tarfiles.