performance issue resolution for large files 

Everything should have an `rs_` prefix or be static.