Set working directory to current file.