Handles properties files and Preferences(using properties).