It's just like Chris writes. Randomize uses the system time to get a "random" number. You could however write the code like this to make it more clear:

Randomize Timer
MyFile = int((6 * RND) + 1)

BTW, if you type MyFile = int((6 + RND) + 1) then MyFile will always be 7 (maybe this was a typing error?)