Move the filename header regex to package scope.