Workload generation

Implements #14 
Maybe do this in a separate thread. In this case we cannot have two files coming in at the same time, since it will block until the first is done