parseFactorString now added to files.R