Material file download bug fixed