While a file is open in Vortex Studio Editor, that file locks on disk, meaning it cannot be deleted. You must close the file if you want to delete it. If an open file has any sub-components, those sub-components are also locked, even if they are then removed from the parent file. You would have to close the parent file in order to unlock the sub-component. For example, if you have an assembly in a mechanism, the assembly is locked on disk until the mechanism itself is closed, even if you removed the assembly first.