modified to work with mobileiron secure files