Rest Operator
You can use destructured assignment to obtain a single property from an Object, and you can use the rest operator to create a new Object with the remaining properties:
const {fileType, ...fileProps} = file.load({
id: 1234
});
log.debug("fileType", fileType);
log.debug("isOnline?", fileProps.isOnline);