Generates reference data from a single input stream.
Note: It removes the old content of the reference data folder.