json-parser: File prefix now taken from function parameters (processDirectory).