TomDoc first file + fields validation