check if encryption app is enabled before trying to calculate file size