/// <summary>
        /// Construct an entry for a file. File is set to file, and the
        /// header is constructed from information from the file.
        /// </summary>
        /// <param name = "fileName">The file name that the entry represents.</param>
        /// <returns>Returns the newly created <see cref="TarEntry"/></returns>
        public static TarEntry CreateEntryFromFile(string fileName)
        {
            TarEntry entry = new TarEntry();

            entry.GetFileTarHeader(entry.header, fileName);
            return(entry);
        }
 /// <summary>
 /// Construct an entry for a file. File is set to file, and the
 /// header is constructed from information from the file.
 /// </summary>
 /// <param name = "fileName">The file name that the entry represents.</param>
 /// <returns>Returns the newly created <see cref="TarEntry"/></returns>
 public static TarEntry CreateEntryFromFile(string fileName)
 {
     TarEntry entry = new TarEntry();
     entry.GetFileTarHeader(entry.header, fileName);
     return entry;
 }