Factoring out the file column pattern for clarity and future testability.