File Security, Safe APIs & Cryptography in Practice