Uses random number in temporary created file