Refactored Contact class to parse a file name and choose the correct strategy based on its extension. Refactored FieldFormatter classes so that they no longer have anything to do with where the file is created; the entire file name, whether relative or absolute, must now be given as an argument to the writeToFile() method. Test classes refactored for fewer variables.