make the current directory be the directory of the file for wikis.