Random file writer