Adding and deleting files in editor bug fixed