implemented file tracking for stack dumps, removed useless checks