Fix document downloads, remove unused file