added deactivate and standard no when a file is removed from the filesystem