Please untaint (sanitize) the value of `$file`, or you'll get warnings when running in -t (as we do in production), and crashes when running under -T (as we should actually be doing).