remove credentials from file