I was asked to compress a text file using a best algorithm;

this is the original file:
---------------------------------------
AGXY CDFR ABFGRX OPDABC SKLAWE
ABC FGTR OBHJKLABC XYZABC EFGH
---------------------------------------


I appreciate any hints.

Sree