Fix use array access for multiple files.