fixed file read from pickle