Text this: Nanoparticles and thin films for controlled drug release