pub fn create_public_file(filename: &str) -> Result<File, Error>
Create a new public file in write-only mode, truncating it if it exists.