Debugging file downloads