auto ref File