int recordCount = 0;
if(props.containsKey(Benchmark.REQUEST_FILE)) {
try {
String fileRecordSelectionFile = props.getString(Benchmark.REQUEST_FILE);
if(!new File(fileRecordSelectionFile).exists()) {
throw new UndefinedPropertyException("File does not exist");
}
keysFromFile = loadKeys(new File(fileRecordSelectionFile));
recordSelection = new String(Benchmark.FILE_RECORD_SELECTION);
} catch(Exception e) {
// Falling back to default uniform selection