A 30-year-old woman presents with sudden high fever, chest pain, and rusty sputum. Chest X-ray shows left lower lobe pneumonia. Despite intramuscular penicillin (1.6 million units TID for 5 days), she remains febrile with left chest fullness and absent breath sounds. The most important next investigation is: