public ParticleEffect openEffect (File file, boolean replaceCurrentWorkspace) {
try {
ParticleEffect loadedEffect = load(file.getAbsolutePath(), ParticleEffect.class, null,
new ParticleEffectLoader.ParticleEffectLoadParameter(particleSystem.getBatches()));
loadedEffect = loadedEffect.copy();
loadedEffect.init();
if(replaceCurrentWorkspace){
effect = loadedEffect;
controllersData.clear();
particleSystem.removeAll();