title: When trying to open the .xlsx file created by selenium, getting a message stating that the file is corrupted
body: <p>I created an .xlsx file using selenium through File "fil.createNewFile()", the file got created in the location but when i try to open the file i am getting a message "Excel cannot open the file 'Example.xlsx' because the file format or file extension is not valid....". Why is this happening. Please guide me to over come this problem.</p>
  
  <p>Thanks in advance...</p>