added mute command
added diff checks for file opening