Fix issue13

Removes the .txt from $cacheFile and fixes issue 13 for *nix users.