removed print statements
added upload file to redis