Write the J coupling data to file.
file: The name of the file.
dir: The directory name.
force: A flag which if True will cause the file to be overwritten.
This will write the J coupling values to file. If no directory name is given, the file will be placed in the current working directory.