added method to fetch binary content