Synthesis of bionanocomposite films