Fixed loading scripts from file for windows. Switched from file type to file name checking
Fixed loading scripts from file for windows. Switched from file type to file name checking
Merge pull request #300 from klindenbach/master

Fix for windows load from file