open files with pickle