add dump filepath exists check