GSEA-P prototype: added i/o functions