We would like to phase out the current ad-hoc file mechanism by using references. We should also make sure we can handle String Vs byte correctly.