you almost got it,
you are saving two arraylists to the file, so you need to deserialize two objects, and directcast them to their arraylist type
no need to use a function, your arrays should be declared on a form level, use a sub and just directly use them in the code.
one other error, you...