Update File.hpp

added functions + private section