Moved std_silent to logging, and try to remove files on cleanup