Update File.hpp

added more functions