open(FILE, '<', $filename) #somehow using zless or other? while { ...do action on each line... }