Added parseScriptFile to be more in line with other parse* functions.