define(['mac/roman'], function(macintoshRoman) {

  'use strict';
  
  return function(resource) {
  
    var text = macintoshRoman(resource.data, 0, resource.data.length);
    debugger;
  
  };

});

define(['mac/roman'], function(macintoshRoman) {

  'use strict';
  
  return function(item) {
    return item.getBytes().then(function(bytes) {
      var text = macintoshRoman(bytes, 0, bytes.length);
      debugger;
    });
  };

});

Change ATXT to new loader format
Change ATXT to new loader format