-fixed function detection to check for space or ( to effectively ignore variables
-changed main parse loop index var to _fileIndex