The “missing return statement” message occurs when a method does not have a return statement.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.