Make file format error more generic
Make file format error more generic

combine unnecessary if/else

surhudm/scipy,maniteja123/scipy,endolith/scipy,andyfaff/scipy,Stefan-Endres/scipy,argriffing/scipy,scipy/scipy,mdhaber/scipy,WarrenWeckesser/scipy,aarchiba/scipy,mdhaber/scipy,haudren/scipy,surhudm/scipy,zerothi/scipy,behzadnouri/scipy,pbrod/scipy,pbrod/scipy,gdooper/scipy,argriffing/scipy,surhudm/scipy,anielsen001/scipy,aeklant/scipy,e-q/scipy,niknow/scipy,pizzathief/scipy,Newman101/scipy,Newman101/scipy,grlee77/scipy,woodscn/scipy,andyfaff/scipy,pbrod/scipy,matthewalbani/scipy,woodscn/scipy,nonhermitian/scipy,lhilt/scipy,andyfaff/scipy,josephcslater/scipy,kleskjr/scipy,e-q/scipy,Eric89GXL/scipy,gdooper/scipy,behzadnouri/scipy,vigna/scipy,nonhermitian/scipy,gdooper/scipy,e-q/scipy,apbard/scipy,gertingold/scipy,Newman101/scipy,arokem/scipy,kalvdans/scipy,pschella/scipy,kleskjr/scipy,matthew-brett/scipy,person142/scipy,Eric89GXL/scipy,haudren/scipy,endolith/scipy,jor-/scipy,niknow/scipy,tylerjereddy/scipy,gfyoung/scipy,anntzer/scipy,matthewalbani/scipy,mikebenfield/scipy,person142/scipy,gertingold/scipy,sriki18/scipy,vigna/scipy,argriffing/scipy,pschella/scipy,vigna/scipy,haudren/scipy,WarrenWeckesser/scipy,dominicelse/scipy,Eric89GXL/scipy,e-q/scipy,mikebenfield/scipy,perimosocordiae/scipy,sriki18/scipy,perimosocordiae/scipy,Stefan-Endres/scipy,ilayn/scipy,arokem/scipy,arokem/scipy,aeklant/scipy,pyramania/scipy,niknow/scipy,endolith/scipy,tylerjereddy/scipy,Newman101/scipy,jamestwebber/scipy,rgommers/scipy,argriffing/scipy,josephcslater/scipy,mdhaber/scipy,pschella/scipy,aeklant/scipy,scipy/scipy,nmayorov/scipy,andyfaff/scipy,Newman101/scipy,perimosocordiae/scipy,vigna/scipy,scipy/scipy,kleskjr/scipy,matthewalbani/scipy,zerothi/scipy,kleskjr/scipy,kalvdans/scipy,anntzer/scipy,matthewalbani/scipy,tylerjereddy/scipy,maniteja123/scipy,jor-/scipy,haudren/scipy,befelix/scipy,anielsen001/scipy,grlee77/scipy,josephcslater/scipy,person142/scipy,matthew-brett/scipy,rgommers/scipy,gertingold/scipy,zerothi/scipy,endolith/scipy,dominicelse/scipy,Eric89GXL/scipy,befelix/scipy,Stefan-Endres/scipy,aarchiba/scipy,jakevdp/scipy,sriki18/scipy,jakevdp/scipy,bkendzior/scipy,surhudm/scipy,WarrenWeckesser/scipy,perimosocordiae/scipy,aarchiba/scipy,tylerjereddy/scipy,mdhaber/scipy,WarrenWeckesser/scipy,tylerjereddy/scipy,argriffing/scipy,befelix/scipy,pyramania/scipy,scipy/scipy,anntzer/scipy,Newman101/scipy,surhudm/scipy,ilayn/scipy,nmayorov/scipy,pbrod/scipy,niknow/scipy,gertingold/scipy,jakevdp/scipy,maniteja123/scipy,jakevdp/scipy,bkendzior/scipy,zerothi/scipy,behzadnouri/scipy,endolith/scipy,dominicelse/scipy,rgommers/scipy,befelix/scipy,josephcslater/scipy,Stefan-Endres/scipy,pizzathief/scipy,kleskjr/scipy,arokem/scipy,sriki18/scipy,argriffing/scipy,jamestwebber/scipy,pizzathief/scipy,matthewalbani/scipy,bkendzior/scipy,woodscn/scipy,WarrenWeckesser/scipy,nmayorov/scipy,nmayorov/scipy,matthew-brett/scipy,andyfaff/scipy,matthew-brett/scipy,scipy/scipy,woodscn/scipy,behzadnouri/scipy,nonhermitian/scipy,anielsen001/scipy,anielsen001/scipy,jjhelmus/scipy,pschella/scipy,anielsen001/scipy,kalvdans/scipy,maniteja123/scipy,dominicelse/scipy,mdhaber/scipy,befelix/scipy,pbrod/scipy,mikebenfield/scipy,pyramania/scipy,lhilt/scipy,jamestwebber/scipy,lhilt/scipy,jjhelmus/scipy,anielsen001/scipy,maniteja123/scipy,pizzathief/scipy,zerothi/scipy,ilayn/scipy,pbrod/scipy,vigna/scipy,zerothi/scipy,person142/scipy,jor-/scipy,gfyoung/scipy,WarrenWeckesser/scipy,sriki18/scipy,apbard/scipy,gfyoung/scipy,rgommers/scipy,jjhelmus/scipy,jakevdp/scipy,haudren/scipy,mdhaber/scipy,haudren/scipy,perimosocordiae/scipy,ilayn/scipy,behzadnouri/scipy,scipy/scipy,mikebenfield/scipy,aarchiba/scipy,maniteja123/scipy,pyramania/scipy,matthew-brett/scipy,apbard/scipy,rgommers/scipy,aarchiba/scipy,jjhelmus/scipy,sriki18/scipy,Eric89GXL/scipy,grlee77/scipy,woodscn/scipy,anntzer/scipy,person142/scipy,bkendzior/scipy,niknow/scipy,mikebenfield/scipy,jor-/scipy,endolith/scipy,niknow/scipy,perimosocordiae/scipy,kalvdans/scipy,nonhermitian/scipy,gdooper/scipy,pschella/scipy,pizzathief/scipy,e-q/scipy,kalvdans/scipy,nonhermitian/scipy,nmayorov/scipy,Eric89GXL/scipy,andyfaff/scipy,bkendzior/scipy,dominicelse/scipy,aeklant/scipy,apbard/scipy,aeklant/scipy,Stefan-Endres/scipy,Stefan-Endres/scipy,woodscn/scipy,apbard/scipy,lhilt/scipy,ilayn/scipy,gdooper/scipy,ilayn/scipy,jor-/scipy,grlee77/scipy,surhudm/scipy,grlee77/scipy,kleskjr/scipy,pyramania/scipy,jjhelmus/scipy,gfyoung/scipy,arokem/scipy,behzadnouri/scipy,jamestwebber/scipy,josephcslater/scipy,jamestwebber/scipy,gertingold/scipy,lhilt/scipy,anntzer/scipy,gfyoung/scipy,anntzer/scipy