All exceptions thrown regarding document files being invalid should throw InvalidFileException Also adding /// \<exception> documentation would be nice