add option in get endpoint (files) for attachment control