Make File.h a header-only class