Saving and loading items from file. Decoding and encoding implemented in ADPProduct