code: function compileEntity() {
            var entity = extend({
              buildId: bff.key(payload),
              extension: file.extension,
              filename: file.filename,
              fingerprint: print,
              url: file.url
            }, payload);
  
            return entity;
          }
docs: Compile the entity based on parameters