getApplicationDirectory