new File(context.getFilesDir(), tokenFile).toString() should do the same thing and is a bit easier to read than a bunch of toString()s and formatting it.