// Create a new connection properties object
SshToolsConnectionProfile profile = new SshToolsConnectionProfile();
try {
// Open the file
profile.open(f.getAbsolutePath());
setNeedSave(false);
currentConnectionFile = f;
setContainerTitle(f);
// Connect with the new details.