Anti Resource Leak. Closed randomFile