Size quantization effects in thin film Casimirinteraction