Add handling of tar archives. Improved documentation.