check that statusfile is readable and generate an error if it isn't