Undefined variables in files indexes