Added some logging statements to DataTransfer.m