Fixing undefined index data bug.

unset($key) does not delete key element from $_files array