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;
    }
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
Get the internal storage file for the file path