Fixed file output for vocab