Added -completion function, but it depends on a directory-files function