Gets the file to require before creating the service.
public function getFile() : ?string { return $this->file; }