geopackage-sdk/src/main/java/mil/nga/geopackage/io/ContextIOUtils.java
public static File getInternalFile(Context context, String filePath) {
        File internalFile = null;
        if (filePath != null) {
            internalFile = new File(context.getFilesDir(), filePath);
        } else {
            internalFile = context.getFilesDir();
        }
        return internalFile;
    }
public static File getInternalFile(Context context, String filePath) {
        File internalFile = null;
        if (filePath != null) {
            internalFile = new File(context.getFilesDir(), filePath);
        } else {
            internalFile = context.getFilesDir();
        }
        return internalFile;
    }
Get the internal storage file for the file path

@param context  context
@param filePath file path
@return file