title: Error: Archive file cannot be size 0. FileFormatException Unhandled
body: <p>I was trying to insert a new slide into my presentation by following the <a href="https://msdn.microsoft.com/EN-US/library/office/cc850834.aspx" rel="nofollow">https://msdn.microsoft.com/EN-US/library/office/cc850834.aspx</a></p>
  
  <p>It throws me the error: Archive file cannot be size 0</p>
  
  <p>My code:</p>
  
  <pre><code>string presentationFile=@"C:\Users\SS\Desktop\TestPresentation6.pptx";
  public static void InsertNewSlide(string presentationFile, int position, string slideTitle)
  { 
      using (PresentationDocument presentationDocument = PresentationDocument.Open(presentationFile, true))
      {
         // Pass the source document and the position and title of the slide to be inserted to the next method.
         InsertNewSlide(presentationDocument, position, slideTitle);
      }
  }
  </code></pre>
  
  <p>Am using open XML SDK 2.5. Could anyone help me in understanding what is this error indicates. I could not find any useful solution. Anybody had faced the same issue? </p>
  
  <p>Appreciate your time!!</p>
  
  <p>Thanks!!!</p>