Extracted out an EventStoreFileResolver that is responsible for constructing a file base on an event specification.