method for getting the file path of the wallet