Java tutorial
//package com.java2s; //License from project: Open Source License import android.content.Context; import java.io.File; public class Main { private static final String PIT_LOCATIONS_FILENAME = "2016_pit_locations.json"; private static File getLocationsFile(Context context) { return new File(context.getFilesDir().getPath() + File.pathSeparator + PIT_LOCATIONS_FILENAME); } }