file download issues on legacy module