I would initialize this as `@fname = "#{rand_text_numeric(7)}.php"` so adding .php everywhere isn't required.