modify recursive_upload.py (process files)