Merged FileRef.fetch_if_needed into FileRef.fetch and removed the unneeded parameters