Add maxIdle and maxActive so we have a pool of connections.
Add FileID method to determine which id to write to for a particular file.