Encode all data in CLI get file