let try_remove x = if exists x then Shell.rm x