Your program is looking for a standard .xls document, which is entirely different than what you are outputting. Your program outputs a tab delimited sheet, which is a .txt file. Try switching your program from tabs to commas as delimiters and saving as a .csv (comma separated value).