refactor debug mode
no need to prefix $file

globbing returns full name
fix *py
do not try to move files with *