duplicate definition of file when creating cores from array