PURPOSE: This phase I/II trial is studying the side effects of giving cyclophosphamide, radiation therapy, and poly ICLC together and to see how well they work in treating patients with unresectable, recurrent, primary, or metastatic liver cancer.