Text this: Preparation of biopolymer nanoparticles and nanofibers