[filegen.go] Concurrency support added

I am having an issue with the command line arguments. Be sure to
fix this.