Improved behavior of adding/deleting files