modified auto-complete dir/filename support

Also changed the naming of the commands to be taken
from the modules