Added File util class and its tests