Added error catching to the "fread"

If it reads the whole pblapp struct correctly, fread will return "1" 
as in "I read 1 object". Otherwise, it returns "0".