implementing download file with tests results on the admin side and user side