Change suffix to Python
Convert nfiles.sh to python script