Fixed incorrect naming of idtfile variable.