Update File.php

added cache for data files