question: private static void saveToDisk ( String vcard , String filename , String path , Context context ) { if ( TextUtils . isEmpty ( vcard ) || TextUtils . isEmpty ( filename ) || context == null ) { return ; } File peerProfilesFile = new File ( path ) ; if ( ! peerProfilesFile . exists ( ) ) { peerProfilesFile . mkdirs ( ) ; } FileOutputStream outputStream ; try { File outputFile = new File ( path + File . separator + filename ) ; outputStream = new FileOutputStream ( outputFile ) ; outputStream . write ( vcard . getBytes ( ) ) ; outputStream . close ( ) ; Log . d ( TAG , "vcard in saveToDisk " + vcard ) ; } catch ( Exception e ) { Log . e ( TAG , "Error while saving VCard to disk" , e ) ; } }
target:  Saves a vcard string to an internal new vcf file.