adds meaningful exception message when FileDescriptor is not set up with template; adds creation for JavaFile and SourceDirectory descriptors