add file check for jstack