SortedProperties sortedProperties = new SortedProperties();
sortedProperties.putAll(_props);
FileOutputStream labelFileStream = null;
try {
labelFileStream = new FileOutputStream(_file.getLocation().toString());
sortedProperties.store(labelFileStream, null);
_file.refreshLocal(IResource.DEPTH_ZERO, new NullProgressMonitor());
} catch (IOException e) {
WGADesignerPlugin.getDefault().logInfo("Unable to store file: " + _file.getLocation(), e);
} catch (CoreException e) {
WGADesignerPlugin.getDefault().logInfo("Unable to refresh resource on: " + _file.getLocation(), e);