checking memdump file before accessing it